package com.hebeiboruan.entity.system;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import com.alibaba.excel.annotation.ExcelProperty;
@TableName("br_user_role")
public class UserRole implements Serializable{
private static final long serialVersionUID = 1L;

    @TableId(value="user_role_no",type = IdType.AUTO 
   )
    private Integer userRoleNo;

    public Integer getUserRoleNo(){
    return this.userRoleNo;
    }

    public void setUserRoleNo(Integer userRoleNo){
    this.userRoleNo=userRoleNo;
    }


    @TableField("user")
    private Integer user;

    public Integer getUser(){
    return this.user;
    }

    public void setUser(Integer user){
    this.user=user;
    }




    @TableField("role")
    private Integer role;

    public Integer getRole(){
    return this.role;
    }

    public void setRole(Integer role){
    this.role=role;
    }

 public UserRole() {
 }

 public UserRole(Integer user, Integer role) {
  this.user = user;
  this.role = role;
 }
}

